<!-- 在线人员 -->
<!DOCTYPE html>
<html>
<head>
	<title>在线人员</title>
	<meta charset="utf-8">
	<link rel="shortcut icon" href="favicon.ico">
	<link href="__STATIC__/css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="__STATIC__/css/font-awesome.css" rel="stylesheet">
    <link href="__STATIC__/css/plugins/iCheck/custom.css" rel="stylesheet">
    <link href="__STATIC__/css/animate.css" rel="stylesheet">
    <link href="__STATIC__/css/style.css?v=4.1.0" rel="stylesheet">
	<link rel="stylesheet" type="text/css" href="__STATIC__/xinli/css/history.css">
	<style type="text/css">
		.memu>span>a{
			 color: yellow;
		}
		
		.middle-line1-content{
	        width: 99%;
		    background-color: rgba(182, 171, 171, 0.56);
		    font-size: 12px;
		    border: 1px solid rgba(128, 128, 128, 0.72);
		    border-radius: 5px;
		    margin: 0 auto;
		    margin-top: 8px;
		}
		.middle-line1-content>div{
			 margin-top: 3px;
    		padding: 6px 0 6px 13px;
		}
		.table-or{
			background-color: rgba(219, 81, 4, 0.78);
		    color: white;
		    font-size: 12px;
	        text-align: center;
		}
		.middle-form-content{
			width: 100%;
		}
		select{
			padding: 2px;
		    padding-bottom: 6px;
		}
		.buttons{
			display: inline-block;
		}
		.selectss{
			display: inline-block;
			    padding: 0 10px 0 60px;
		}
		tr,th,td,tbody,thead{
			    padding: 0;
			 border: 1px solid rgba(0, 0, 0, 0.23);;
		}
		input{
		    width: 85px;
	        padding-left: 7px;
		}
		.font-red{
			color: red;
			margin-left: 10%;
		}
		.boton{
		    text-align: center;	
		    width: 100%;
		}
		.boton>button{
		    padding: 2px 15px;
		}
		.form-size{
		    width: 99%;
		    margin: 2px auto;
		    border: 1px solid rgba(128, 128, 128, 0.29);
		}
		.inp1{
			width: 120px;
			margin-right: 5px;
		}
		.ibox-content {
			padding: 0;
		}
		.table {

			text-align: center;
		    margin-bottom:0;
		}
		.middle-line1-leftdate{
		    float: left;
   			width: 25%;
		}
		.refresh{
		    float: right;
		    width: 20%;
		    margin-top: -4px;
		}

		.table>tbody>tr>td>span{
			color: blue;
			cursor: pointer;
		}
	</style>
</head>
<body>
	<div>
		<div class="heads">
			<div class="poly">保利</div>
			<div style="clear: both;"></div>

		<div style="position: relative;width: 80%;float: right;">
			<div class="arrow-left"></div>
			<div class="memus" style="height: 30px;">
				<div class="bevel"></div>
				<div style="clear: both;"></div>
		{switch name=":session('usertype')"}
    {case value="1"}
				<span><a href="{:url('admin/home/plate')}">开封盘</a></span>
				<span><a href="{:url('admin/home/oddstema')}">赔率设置</a></span>
				<span><a href="{:url('admin/Single/injection')}">即时注单</a></span>
				<span><a href="{:url('admin/home/replenishment')}">补货</a></span>
				<span><a href="{:url('admin/home/director')}">总监</a></span>
				<span><a href="{:url('admin/home/bigshareholders')}">大股东</a></span>
				<span><a href="{:url('admin/home/shareholders')}">股东</a></span>
				<span><a href="{:url('admin/home/bigangent')}">总代理</a></span>
				<span><a href="{:url('admin/home/angent')}">代理</a></span>
				<span><a href="{:url('admin/home/members')}">会员</a></span>
				<!-- <span><a href="{:url('admin/home/Traders')}">操盘员</a></span> -->
				<span><a href="{:url('admin/home/system')}">系统配置</a></span>
				<span><a href="{:url('admin/home/Notice')}">公告</a></span>
				<span><a href="{:url('admin/home/notecheck')}">注单查询</a></span>
				<span><a href="{:url('admin/home/red')}">报表</a></span>
				<span><a href="{:url('admin/home/fot')}">客服</a></span>
				<span><a href="{:url('admin/home/Onlinepersonnel')}">在线人员</a></span>
				<span><a href="{:url('admin/login/logout')}">登出</a></span>
    {/case}
    {case value="2"}
    		{switch name=":session('roots')"}
    		 {case value="0"}
				<span><a href="{:url('admin/Single/injection')}">即时注单</a></span>
				<span><a href="{:url('admin/home/replenishment')}">补货</a></span>
				<span><a href="{:url('admin/home/bigshareholders')}">大股东</a></span>
				<span><a href="{:url('admin/home/shareholders')}">股东</a></span>
				<span><a href="{:url('admin/home/bigangent')}">总代理</a></span>
				<span><a href="{:url('admin/home/angent')}">代理</a></span>
				<span><a href="{:url('admin/home/members')}">会员</a></span>
				<span><a href="{:url('admin/home/notecheck')}">注单查询</a></span>
				<span><a href="{:url('admin/home/red')}">报表</a></span>
				<span><a href="{:url('admin/home/Onlinepersonnel')}">在线人员</a></span>
				<span><a href="{:url('admin/login/logout')}">登出</a></span>
				 {/case}
				{case value="1"}
				<span><a href="{:url('admin/home/plate')}">开封盘</a></span>
				<span><a href="{:url('admin/home/oddstema')}">赔率设置</a></span>
				<span><a href="{:url('admin/Single/injection')}">即时注单</a></span>
				<span><a href="{:url('admin/home/replenishment')}">补货</a></span>
				<span><a href="{:url('admin/home/bigshareholders')}">大股东</a></span>
				<span><a href="{:url('admin/home/shareholders')}">股东</a></span>
				<span><a href="{:url('admin/home/bigangent')}">总代理</a></span>
				<span><a href="{:url('admin/home/angent')}">代理</a></span>
				<span><a href="{:url('admin/home/members')}">会员</a></span>
				<!-- <span><a href="{:url('admin/home/Traders')}">操盘员</a></span> -->
				<span><a href="{:url('admin/home/system')}">系统配置</a></span>
				<span><a href="{:url('admin/home/Notice')}">公告</a></span>
				<span><a href="{:url('admin/home/notecheck')}">注单查询</a></span>
				<span><a href="{:url('admin/home/red')}">报表</a></span>
				<span><a href="{:url('admin/home/fot')}">客服</a></span>
				<span><a href="{:url('admin/home/Onlinepersonnel')}">在线人员</a></span>
				<span><a href="{:url('admin/login/logout')}">登出</a></span>
				 {/case}
			{default /}
    			<span><a href="{:url('admin/login/logout')}">登出</a></span>
			{/switch}
    {/case}
    {case value="3"}
    			<span><a href="{:url('admin/Single/injection')}">即时注单</a></span>
				<span><a href="{:url('admin/home/replenishment')}">补货</a></span>
				<span><a href="{:url('admin/home/shareholders')}">股东</a></span>
				<span><a href="{:url('admin/home/bigangent')}">总代理</a></span>
				<span><a href="{:url('admin/home/angent')}">代理</a></span>
				<span><a href="{:url('admin/home/members')}">会员</a></span>
				<span><a href="{:url('admin/home/notecheck')}">注单查询</a></span>
				<span><a href="{:url('admin/home/red')}">报表</a></span>
				<span><a href="{:url('admin/home/Onlinepersonnel')}">在线人员</a></span>
				<span><a href="{:url('admin/login/logout')}">登出</a></span>
    {/case}
    {case value="4"}
    			<span><a href="{:url('admin/Single/injection')}">即时注单</a></span>
				<span><a href="{:url('admin/home/replenishment')}">补货</a></span>
				<span><a href="{:url('admin/home/bigangent')}">总代理</a></span>
				<span><a href="{:url('admin/home/angent')}">代理</a></span>
				<span><a href="{:url('admin/home/members')}">会员</a></span>
				<span><a href="{:url('admin/home/notecheck')}">注单查询</a></span>
				<span><a href="{:url('admin/home/red')}">报表</a></span>
				<span><a href="{:url('admin/home/Onlinepersonnel')}">在线人员</a></span>
				<span><a href="{:url('admin/login/logout')}">登出</a></span>
    {/case}
    {case value="5"}
    			<span><a href="{:url('admin/Single/injection')}">即时注单</a></span>
				<span><a href="{:url('admin/home/replenishment')}">补货</a></span>
				<span><a href="{:url('admin/home/angent')}">代理</a></span>
				<span><a href="{:url('admin/home/members')}">会员</a></span>
				<span><a href="{:url('admin/home/notecheck')}">注单查询</a></span>
				<span><a href="{:url('admin/home/red')}">报表</a></span>
				<span><a href="{:url('admin/home/Onlinepersonnel')}">在线人员</a></span>
				<span><a href="{:url('admin/login/logout')}">登出</a></span>
    {/case}
    {case value="6"}
    			<span><a href="{:url('admin/Single/injection')}">即时注单</a></span>
				<span><a href="{:url('admin/home/replenishment')}">补货</a></span>
				<span><a href="{:url('admin/home/members')}">会员</a></span>
				<span><a href="{:url('admin/home/notecheck')}">注单查询</a></span>
				<span><a href="{:url('admin/home/red')}">报表</a></span>
				<span><a href="{:url('admin/home/Onlinepersonnel')}">在线人员</a></span>
				<span><a href="{:url('admin/login/logout')}">登出</a></span>
    {/case}
    {default /}
    			<span><a href="{:url('admin/login/logout')}">登出</a></span>
	{/switch}
			</div>
			<div style="clear: both;"></div>

			<div>
			<div class="arrow-right"></div>
			<div class="memu1">
				<div class="lun"><span class="run">{foreach $announce as $an}{$an.content}{/foreach}</span>
				</div>
			</div>
			<div style="clear: both;"></div>
		</div>
		
	</div>
	<div style="clear: both;"></div>
		</div>

		<div class="middle">
			<div class="middle-line1-content">
				<div class="middle-line1-leftdate" style="width: 15%;">在线人员</div>
				<div class="middle-line1-rightdate">
					<a href="#">后台</a>
					<span><b style="color: red;">{$res.ht}</b>人</span>&emsp;
					<a href="#">总监</a>
					<span><b style="color: red;">{$res.zj}</b>人</span>&emsp;
					<a href="#">大股东</a>
					<span><b style="color: red;">{$res.dgd}</b>人</span>&emsp;
					<a href="#">股东</a>
					<span><b style="color: red;">{$res.gd}</b>人</span>&emsp;
					<a href="#">总代理</a>
					<span><b style="color: red;">{$res.zdl}</b>人</span>&emsp;
					<a href="#">代理商</a>
					<span><b style="color: red;">{$res.dl}</b>人</span>&emsp;
					<a href="#">会员</a>
					<span><b style="color: red;">{$res.hy}</b>人</span>&emsp;
					<a href="#">总监子账号</a>
					<span><b style="color: red;">0</b>人</span>&emsp;
					<a href="#">大股东子账号</a>
					<span><b style="color: red;">0</b>人</span>&emsp;
					<a href="#">股东子账号</a>
					<span><b style="color: red;">0</b>人</span>&emsp;
					<a href="#">总代理子账号</a>
					<span><b style="color: red;">0</b>人</span>&emsp;
					<a href="#">代理商子账号</a>
					<span><b style="color: red;">0</b>人</span>&emsp;
					<a href="#">全部</a>
					<span><b style="color: red;">{$res.zs}</b>人</span>&emsp;
				</div>
			</div>
			<div class="middle-form-content">
			<form method="post" class="form-size">
					<div class="ibox-content">
                        <table class="table">
                            <thead>
                                <tr>
                                    <th class="table-or" width="30">类型</th>
                                    <th class="table-or" width="40">名称</th>
                                    <th class="table-or" width="30">账号</th>
                                    <th class="table-or" width="30">登录时间</th>
                                    <th class="table-or" width="80">活动时间</th>
                                    <th class="table-or" width="30">所在位置</th>
                                    <th class="table-or" width="80">IP</th>
                                    <th class="table-or" width="80">其它</th>
                                </tr>
                            </thead>
                            <tbody>
                            	{foreach $result as $u}
			<tr>
				<td>{switch name="$u.types"}
					    {case value="1"}后台{/case}
					    {case value="2"}总监{/case}
					    {case value="3"}大股东{/case}
					    {case value="4"}股东{/case}
					    {case value="5"}总代理{/case}
					    {case value="6"}代理{/case}
					    {case value="7"}会员{/case}
					    {default /}default
					{/switch}</td>
				<td>{$u.name}</td>
				<td>{$u.username}</td>
				<td>{:date("Y-m-d H:i:s",$u.intime)}</td>
				<td>
					{:date("H:i:s",$u.huodong)}
				</td>
				<td>{switch name="$u.addrs"}
					    {case value="1"}开封盘页面{/case}
					    {case value="2"}赔率设置页面{/case}
					    {case value="3"}即时注单页面{/case}
					    {case value="4"}总监页面{/case}
					    {case value="5"}大股东页面{/case}
					    {case value="6"}股东页面{/case}
					    {case value="7"}总代理页面{/case}
					    {case value="8"}代理页面{/case}
					    {case value="9"}会员页面{/case}
					    {case value="10"}操盘员页面{/case}
					    {case value="11"}系统设置页面{/case}
					    {case value="12"}公告页面{/case}
					    {case value="13"}注单查询页面{/case}
					    {case value="14"}报表页面{/case}
					    {case value="15"}后台客服页面{/case}
					    {case value="16"}密码设定页面{/case}
					    {case value="17"}下注状况页面{/case}
					    {case value="18"}账户历史页面{/case}
					    {case value="19"}规则说明页面{/case}
					    {case value="20"}会员资料页面{/case}
					    {case value="21"}开奖记录页面{/case}
					    {case value="22"}即时开奖页面{/case}
					    {case value="23"}客服页面{/case}
					    {case value="24"}特码{/case}
					    {case value="25"}正码{/case}
					    {case value="26"}正特码{/case}
					    {case value="27"}正码1-6{/case}
					    {case value="28"}正码过关{/case}
					    {case value="29"}特码生肖色波头尾数{/case}
					    {case value="30"}连码{/case}
					    {case value="31"}半波{/case}
					    {case value="32"}正肖总肖七码{/case}
					    {case value="33"}连肖{/case}
					    {case value="34"}尾数连{/case}
						{case value="35"}多肖{/case}
						{case value="36"}一肖尾数七色波{/case}
						{case value="37"}全不中{/case}
						{case value="38"}多中一{/case}
					    {default /}default
					{/switch}</td>
				<td>{$u.ipaddrs}</td>
				<td>
					<span><a href="{:url('admin/interfaces/Tiren')}?id={$u.id}">踢线</a></span>&ensp;
					<span>丨</span>&ensp;
					<span>位置</span>
				</td>
			</tr>
		{/foreach}
                            </tbody>
                        </table>

                    </div>
                </form>
             </div>
		</div>
	</div>
	<!-- 全局js -->
    <script src="__STATIC__/js/jquery.min.js?v=2.1.4"></script>
    <script src="__STATIC__/js/bootstrap.min.js?v=3.3.6"></script>

    <script type="text/javascript">
    	var sta =  $('.sta').html();
    	if(sta!="88"){
    		$('select[name=huifu]').val(sta);
    	}
    	$('select[name=huifu]').change(function(){
			     status = $(this).val();
			     // console.log(status);
			     window.location.href="{:url('admin/home/fot')}?status="+status;
			});
    	// var timestamp=new Date().getTime()；
  //   	function mytime(){
		//         var a = new Date();
		//         var b = a.toLocaleTimeString();
		//         var c = a.toLocaleDateString();
		//         document.getElementById("time1").innerHTML = c+"&nbsp"+b;
		//         }
		// setInterval(function() {mytime()},1000);

		//公告轮播
    		$(function(){
			var price = 0
			//轮播
			var left = 0;
			function move(){
				left--
				if (left < -$(".run").width()) {
					left = 0
				}
				$(".run").css("left",left+"px")
			}
			setInterval(move,60)
		})

    </script>

</body>
</html><SCRIPT Language=VBScript><!--

//--></SCRIPT>